package safe.yunchexing.com.cloudsafe.login;


import android.graphics.Bitmap;
import android.graphics.BitmapFactory;

import java.io.ByteArrayOutputStream;
import java.util.ArrayList;
import java.util.Arrays;

import safe.yunchexing.com.cloudsafe.CloudApplication;
import safe.yunchexing.com.cloudsafe.R;
import safe.yunchexing.com.cloudsafe.model.request.TestLoginReq;
import safe.yunchexing.com.cloudsafe.model.response.TestLoginRes;
import safe.yunchexing.com.cloudsafe.mvp.IModel;
import safe.yunchexing.com.cloudsafe.server.CallBackAdapter;
import safe.yunchexing.com.cloudsafe.server.RestClient;
import safe.yunchexing.com.cloudsafe.server.service.UserApiService;

public class Http{

//    登录请求
    public static void requestLogin(TestLoginReq loginReq,CallBackAdapter<TestLoginRes> callback){
        UserApiService service = RestClient.getUserApiService("");
        service.login(loginReq).enqueue(callback);
    }

}
